:root {
  //--- define ---
  --font-size: 12pt;
  --border-color: silver;
  --cell-fg: black;
  --cell-bg: white;
  --header-bg: #F0F0F0;
  --header-fg: #090909;
  --header-border-color: gray;

  --selected-cell-fg: white;
  --selected-cell-bg: cyan;
  --input-border-color: blue;
}

.g-wrapper {
  overflow: hidden;
}

.g-main {
  z-index: 1 !important;
}

@media only screen and (max-width: 480px) {
  .g-main br {
    display: none;
  }
}

.fixed-header {
  position: fixed;
  top: 46px;
  /*top: 0;*/
  max-width: 960px;
  width: 100%;
  z-index: 2;
  display: none;
  /* 最初は非表示にしておく */
  margin: auto;
}

@media only screen and (max-width: 480px) {
  .fixed-header {
    top: 50.4px;
    /*top: 0;*/
    left: 15px !important;
  }
}

.tableBase {
  position: relative;
}

.scrollBox {
  position: relative;
  overflow-x: scroll;
  /*border: 1px solid var(--border-color, silver);*/
}

#scrl_btn_wrap_header.scrollBox {
  overflow-x: hidden;
}

.tbl {
  width: 100%;
  height: 100%;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  z-index: 1
}

.tbl thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

tbody {
  overflow-x: auto;
  width: auto;
}

#ichiran_table .g-table-hdr_wrapper {
  height: auto;
}

#ichiran_table .g-table {
  overflow-x: hidden;
  margin-top: 50px;
}

#ichiran_table table {
  table-layout: fixed;
  border-collapse: separate;
}

#ichiran_table table tr td {
  width: 200px;
  text-align: center;
  line-height: 130%;
  font-size: 13px;
  padding: 10px 10px 6px;
  border-top: 1px solid var(--cell-bg, white);
  border-left: 1px solid var(--cell-bg, white);
  border-right: 1px solid var(--border-color, silver);
  border-bottom: 1px solid var(--border-color, silver);
}

#ichiran_table table tr td strong {
  font-size: 24px;
}

colgroup col:nth-child(1) {
  width: 16px !important;
}

colgroup col:nth-child(2) {
  width: 145px !important;
}

#ichiran_table table.tbl>thead>tr:nth-of-type(1)>td {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: #fff;
  border-bottom: #ccc 1px solid;
  background-color: #f3f3f3;
}

#ichiran_table table.tbl>thead>tr:nth-of-type(1)>td {
  z-index: 3;
}

#ichiran_table table.tbl>thead>tr>td:nth-of-type(1),
#ichiran_table table.tbl>tbody>tr>td:nth-of-type(1) {
  position: sticky !important;
  left: 0;
  z-index: 1;
  background-color: #f3f3f3;
  font-size: 13px;
  text-align: left;
  border-right: none !important;
  letter-spacing: -0.02em;
}

#ichiran_table table.tbl>thead>tr>td:nth-of-type(2),
#ichiran_table table.tbl>tbody>tr>td:nth-of-type(2) {
  position: sticky !important;
  left: 15.99px;
  text-align: left;
  border-left: none !important;
  padding-left: 0px;
  background-color: #f3f3f3;
}

#ichiran_table table.tbl>thead>tr:nth-of-type(1)>td:nth-of-type(1) {
  background-color: #fff !important;
  z-index: 5 !important;
  height: 185.05px;
  width: 161px !important;
}

#ichiran_table table.tbl>tbody>tr.midashi>td {
  border: none !important;
}

#ichiran_table table.tbl>tbody>tr>td:nth-of-type(1)>strong {
  font-size: 14px;
}

td.header_sre {
  padding-bottom: 5px !important;
  line-height: 200% !important;
  background-color: #000 !important;
  color: #fff;
}

#ichiran_table table.ra_serise tr td {
  padding: 0%;
  border: none;
  vertical-align: middle;
  text-align: left;
}

table.ra_serise {
  margin-bottom: 5px !important;
}

table.ra_serise td:nth-of-type(1) {
  width: auto !important;
}

table.ra_serise td:nth-of-type(2) {
  padding: 0 10px !important;
  line-height: 180% !important;
}

table.ra_serise td:nth-of-type(2).new_only {
  vertical-align: top !important;
}

table.ra_serise td img.ser-mark {
  width: 62px;
}

#header_sre td a.more-link {
  bottom: 10px;
  left: 57px;
  color: #fff;
}

.cabinet {
  width: 93% !important;
  margin-bottom: 30px;
}

.cabinet_sx {
  width: 90% !important;
}

#jousuu table.jousuu {
  height: 60px;
}

#jousuu table.jousuu tr {
  font-size: 12px;
  padding: 2px;
  margin: 4px;
}

#jousuu>td {
  padding: 1px !important;
}

#jousuu>td:nth-of-type(1) {
  padding: 10px 10px 6px !important;
}

#jousuu table.jousuu tr td {
  font-size: 12px;
  padding: 0 0;
  background-color: #203764;
  color: #fff;
  border: none;
  white-space: nowrap !important;
}

#jousuu table.jousuu tr td.gray {
  background-color: #BFBFBF;
  color: #eae8e8;
}

#ichiran_table table.tbl tr.midashi td {
  color: #fff;
  padding: 6px 10px 4px !important;
  letter-spacing: 0.12em !important;
}

#ichiran_table .g-slider_nav {
  position: absolute;
  margin-top: 0;
  top: 0px;
  z-index: 5;
  background-color: #008CAD;
}

#ichiran_table .g-slider_prev {
  left: 123px;
}

#ichiran_table .g-slider_next {
  right: 0;
}

#fixed-header .g-slider_nav {
  top: 35px;
}

.round_btn {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 10%;
  background: #fff;
  overflow: hidden;
  /* 追加 */
  -webkit-appearance: none;
}

.round_btn::before,
.round_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 12px;
  background: #333;

}

.round_btn {
  position: absolute;
  top: 5.5px;
  right: 4px;
}

.round_btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.round_btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

button.button_ichiran_01 {
  position: absolute;
  top: 34%;
  left: 0;
  border: none;
  background-color: #fff;
}

#fixed-header button.button_ichiran_01 {
  top: 64%;
}

#ichiran_table table.tbl>tbody>tr.midashi01>td {
  background-color: #00AFB0 !important;
}

#ichiran_table table.tbl>tbody>tr.midashi02>td {
  background-color: #13ae67 !important;
}

#ichiran_table table.tbl>tbody>tr.midashi03>td {
  background-color: #EB615A !important;
}

#ichiran_table table.tbl>tbody>tr.midashi04>td {
  background-color: #21B8C5 !important;
}

#ichiran_table table.tbl>tbody>tr.midashi05>td {
  background-color: #EB6D8E !important;
}

#ichiran_table table.tbl>tbody>tr.midashi06>td {
  background-color: #F0831E !important;
}

#ichiran_table table.tbl>tbody>tr.midashi07>td {
  background-color: #3389CA !important;
}

#ichiran_table table.tbl>tbody>tr.midashi08>td {
  background-color: #57869B !important;
}

.hovered-cell {
  background-color: #EBFCF8; /* セルの背景色を変更 */
}

/*#global-nav.m_fixed {
	left: 480px;
	position: fixed;
	top: 30px;
  min-width: 960px;
  background-color: #fff;
  z-index: 5;
  overflow: hidden;
}*/

@media only screen and (max-width: 959px) {
  #ichiran_table table tr td {
    padding: 5px;
  }

  #ichiran_table .g-table-hdr_wrapper {
    height: 100%;
  }

  colgroup col:nth-child(1) {
    width: 10px !important;
  }

  colgroup col:nth-child(2) {
    width: 85px !important;
  }

  #ichiran_table table tr td {
    width: 118px;
  }

  #ichiran_table table.tbl>tbody>tr>td:nth-of-type(1) {
    width: 140px;
    letter-spacing: -0.12em;
    font-size: 10px;
  }

  #ichiran_table table.tbl>tbody>tr>td:nth-of-type(1)>span {
    letter-spacing: -0.2em;
  }

  #ichiran_table table.tbl>thead>tr>td:nth-of-type(2),
  #ichiran_table table.tbl>tbody>tr>td:nth-of-type(2) {
    font-size: 10px;
    left: 10px;
  }

  #ichiran_table table.tbl>thead>tr:nth-of-type(1)>td:nth-of-type(1) {
    height: 133.92px;
  }

  #ichiran_table table.tbl>tbody>tr.midashi>td>strong {
    font-size: 12px !important;
    letter-spacing: -0.03em !important;
  }

  #fixed-header table.tbl {
    width: calc(100% - 30px) !important;
    margin-right: 30px !important;
    box-sizing: border-box;
  }

  #ichiran_table .g-slider_nav {
    top: 0px;
  }

  #fixed-header .g-slider_nav {
    top: 30px;
  }

  #ichiran_table .g-slider_prev {
    left: 66px;
  }

  #ichiran_table .g-slider_next {
    right: 0;
  }

  #ichiran_table br {
    display: inherit !important;
  }

  #fixed-header .g-slider_next {
    right: 10px !important;
  }

  #jousuu table.jousuu tr td {
    line-height: 100%;
  }

  #jousuu table.jousuu {
    height: 40px;
  }

  #jousuu>td:nth-of-type(1) {
    padding: 5px !important;
  }

  img.button_ichiran_01 {
    left: 5px;
    top: 38px;
  }

  #fixed-header img.button_ichiran_01 {
    top: 78px;
  }

  .header_sre {
    padding: 5px 5px 5px 5px !important;
  }

  .hide-sp {
    display: none;
  }

  table.ra_serise td img.ser-mark {
    width: 44px;
  }

  table.ra_serise td:nth-of-type(2) {
    padding: 0 1px !important;
    line-height: 100% !important;
  }

  #header_sre td a.more-link {
    bottom: 10px;
    left: 12px;
    font-size: 12px;
  }

  .round_btn {
    position: absolute;
    top: 2px;
    right: 0.5px;
  }

  .g-label-5 {
    padding: 5px !important;
  }

  #fixed-header button.button_ichiran_01 {
    top: 56%;
  }
}

/*チェックボックスで非表示*/
.hidden {
  display: none;
}